package com.le.tester.common.enums;

/**
 * 描述：各种状态码
 */
public enum StatusCode {


    LIKE(1, "LIKE"),
    UNLIKE(0, "UNLIKE");

    private final int code;
    private final String desc;

    StatusCode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "{" +
                "code" + ":" + code +
                ", desc" + ":" + desc +
                "}";
    }
}
